local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1
L0_1 = {}
L0_1.group_id = 133003136
L1_1 = {}
L2_1 = {}
L2_1.config_id = 623
L2_1.monster_id = 21010201
L3_1 = {}
L3_1.x = 2225.105
L3_1.y = 224.67
L3_1.z = -1189.09
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 292.565
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.drop_id = 1000100
L2_1.disableWander = true
L2_1.pose_id = 9003
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 1443
L3_1.monster_id = 21010201
L4_1 = {}
L4_1.x = 2219.933
L4_1.y = 224.445
L4_1.z = -1189.93
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 50.33
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 1444
L4_1.monster_id = 21010401
L5_1 = {}
L5_1.x = 2214.254
L5_1.y = 227.204
L5_1.z = -1190.236
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 251.832
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.pose_id = 402
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 1476
L5_1.monster_id = 21010201
L6_1 = {}
L6_1.x = 2224.217
L6_1.y = 224.67
L6_1.z = -1186.167
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 232.938
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L5_1.disableWander = true
L5_1.pose_id = 9003
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 1477
L6_1.monster_id = 21010201
L7_1 = {}
L7_1.x = 2220.168
L7_1.y = 224.437
L7_1.z = -1187.894
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 102.456
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L6_1.disableWander = true
L6_1.pose_id = 9003
L6_1.area_id = 1
L7_1 = {}
L7_1.config_id = 1478
L7_1.monster_id = 21010201
L8_1 = {}
L8_1.x = 2222.822
L8_1.y = 224.617
L8_1.z = -1191.042
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 9.297
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L7_1.disableWander = true
L7_1.pose_id = 9002
L7_1.area_id = 1
L8_1 = {}
L8_1.config_id = 1479
L8_1.monster_id = 21010401
L9_1 = {}
L9_1.x = 2214.342
L9_1.y = 227.185
L9_1.z = -1190.517
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 261.517
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L8_1.disableWander = true
L8_1.pose_id = 402
L8_1.area_id = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 4116
L2_1.gadget_id = 70310004
L3_1 = {}
L3_1.x = 2222.727
L3_1.y = 224.63
L3_1.z = -1188.529
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 114.747
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 5
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 4117
L3_1.gadget_id = 70220014
L4_1 = {}
L4_1.x = 2227.387
L4_1.y = 224.67
L4_1.z = -1187.105
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 183.667
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 5
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 4118
L4_1.gadget_id = 70220014
L5_1 = {}
L5_1.x = 2217.394
L5_1.y = 224.51
L5_1.z = -1193.924
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 183.667
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 5
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 4119
L5_1.gadget_id = 70220014
L6_1 = {}
L6_1.x = 2226.376
L6_1.y = 224.67
L6_1.z = -1186.267
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 183.667
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 5
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 4121
L6_1.gadget_id = 70220014
L7_1 = {}
L7_1.x = 2218.643
L7_1.y = 224.519
L7_1.z = -1193.86
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 183.667
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 5
L6_1.area_id = 1
L7_1 = {}
L7_1.config_id = 4122
L7_1.gadget_id = 70220013
L8_1 = {}
L8_1.x = 2219.114
L8_1.y = 226.34
L8_1.z = -1201.547
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 309.14
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 5
L7_1.area_id = 1
L8_1 = {}
L8_1.config_id = 4123
L8_1.gadget_id = 70220013
L9_1 = {}
L9_1.x = 2221.263
L9_1.y = 226.157
L9_1.z = -1201.014
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 355.469
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 5
L8_1.area_id = 1
L9_1 = {}
L9_1.config_id = 4124
L9_1.gadget_id = 70220013
L10_1 = {}
L10_1.x = 2228.357
L10_1.y = 224.741
L10_1.z = -1184.838
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 354.06
L10_1.y = 340.173
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 5
L9_1.area_id = 1
L10_1 = {}
L10_1.config_id = 4125
L10_1.gadget_id = 70211012
L11_1 = {}
L11_1.x = 2222.418
L11_1.y = 224.61
L11_1.z = -1192.918
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 357.264
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.chest_drop_id = 1010800
L10_1.drop_count = 1
L11_1 = GadgetState
L11_1 = L11_1.ChestLocked
L10_1.state = L11_1
L10_1.isOneoff = true
L10_1.persistent = true
L11_1 = {}
L11_1.name = "chest"
L11_1.exp = 1
L10_1.explore = L11_1
L10_1.area_id = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000511
L2_1.name = "ANY_MONSTER_DIE_511"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_511"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_511"
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 2
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 623
L5_1 = 1443
L6_1 = 1444
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 4116
L5_1 = 4117
L6_1 = 4118
L7_1 = 4119
L8_1 = 4121
L9_1 = 4122
L10_1 = 4123
L11_1 = 4124
L12_1 = 4125
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_511"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L2_1.ban_refresh = true
L3_1 = {}
L4_1 = {}
L5_1 = 1476
L6_1 = 1477
L7_1 = 1478
L8_1 = 1479
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 4116
L6_1 = 4117
L7_1 = 4118
L8_1 = 4119
L9_1 = 4121
L10_1 = 4122
L11_1 = 4123
L12_1 = 4124
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_511 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.ChangeGroupGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 4125
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L4_2.state = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : unlock_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.AddQuestProgress
  L3_2 = A0_2
  L4_2 = "133003136"
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : add_quest_progress"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupReplaceable
  L3_2 = A0_2
  L4_2 = 133003136
  L5_2 = true
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_511 = L1_1
